#region File Header
//----------------------------------------------------------------
// Copyright (C) 2002 Stefan Kyntchev
// All rights reserved.
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY 
// OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT 
// LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR 
// FITNESS FOR A PARTICULAR PURPOSE.
//----------------------------------------------------------------
#endregion File Header

using System;

namespace AirWeb.Security
{
	/// <summary>
	/// Every resource protected by the security system must implement this iterface..
	/// </summary>
	public interface IResource
	{
		/// <summary>
		/// Checks if the supplied object represents the same resource this object
		/// </summary>
		/// <param name="i_other"></param>
		/// <returns></returns>
		bool Matches(object i_other);
	}
}
